#include <stdio.h>
struct note
{
	int id;
	int sc;
	struct note* next;
}a, b, c;

struct note* init()
{
	struct note* head;
	head = &a;
	a.id = 11101;
	a.sc = 100;
	b.id = 11102;
	b.sc = 90;
	c.id = 11103;
	c.sc = 99;
	a.next = &b;
	b.next = &c;
	c.next = NULL;
	return head;
}

void print(struct note* p)
{
	while (p != NULL)
	{
		printf("%d %d\n", p->id, p->sc);
		p = p->next;
	}
}
int main()
{
	struct note* p;
	p = init();
	print(p);
	return 0;
}